package interfaces;

/**
 * @classname:Fish
 * @description:
 * @author: Mr.Z
 * @date: 2020/11/28 19:40
 * @version: 0.1
 * @since:1.8
 */
public class Fish extends Animals{
    public Fish() {
    }

    public Fish(String name, String color) {
        super(name, color);
    }

    @Override
    public void run() {
        System.out.println("鱼在游");
    }
    public void blow(){
        System.out.println("鱼在吹泡泡");
    }
}
